home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d26 / csa.arc / CSA.MEM < prev    next >
Text File  |  1987-05-22  |  14KB  |  415 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                          Categorical Syllogism Analyzer
  7.  
  8.  
  9.  
  10.                                 CSA version 3.17
  11.  
  12.                                   May 21, 1987
  13.  
  14.                         Copyright (c) 1987 by Chris Lord
  15.  
  16.  
  17.  
  18.                                     Abstract
  19.  
  20.  
  21.           This   program   is   meant   as   a   first   step  in  the
  22.           'understanding'  of  categorical syllogisms.  A syllogism is
  23.           analyzed  for  structure  and validity.  If the syllogism is
  24.           not  valid,  the  reason for its invalidity is given.  Note,
  25.           this  program cannot determine the truth of syllogisms, only
  26.           the logical validity of them.  Garbage in, garbage out.  
  27.  
  28.  
  29.                                   Introduction
  30.  
  31.  
  32.           First  in  the understanding of categorical syllogisms is an
  33.           understanding  of  categorical  propositions.  A categorical
  34.           proposition   makes  one  definite  assertion  affirming  or
  35.           denying  that  one  class,  the  subject,  is  included in a
  36.           second  class,  the  predicate,  either in whole or in part.
  37.           For   example   in  the  notation  of  LISP,  (ALL  MEN  ARE
  38.           MORTALS).  
  39.  
  40.           Each proposition is composed of the following parts: 
  41.  
  42.                Quantifier   : _A_l_l men are mortal 
  43.  
  44.                The    only    quantifiers   allowed   in   categorical
  45.                propositions are NO, ALL and SOME.  
  46.  
  47.                Subject (S)  : All _m_e_n are mortal 
  48.  
  49.                The  subject  of  a  proposition  is  generally a class
  50.                description.  
  51.  
  52.                Verb copula  : All men _a_r_e mortal 
  53.  
  54.                The  copula  is  a form of the verb 'to be.'  Generally
  55.  
  56.  
  57.  
  58.  
  59.                                      page 1
  60.  
  61.  
  62.  
  63.  
  64.  
  65.                          Categorical Syllogism Analyzer
  66.  
  67.  
  68.  
  69.                IS or ARE.  
  70.  
  71.                Predicate (P): All men are _m_o_r_t_a_l 
  72.  
  73.                The   predicate  of  a  proposition  is  also  a  class
  74.                description.  
  75.  
  76.           Categorical  propositions  have  what  is known as quantity.
  77.           This  is  determined by the quantifier.  For the quantifiers
  78.           ALL  and  NO,  the quantity is universal; for the quantifier
  79.           SOME, the quantity is particular.  
  80.  
  81.           Quality  of  a  proposition is determined by the combination
  82.           of  quantifier  and  verb  copula.   The  copula  'ARE  NOT'
  83.           signifies  a  negative  quality as does the quantifier 'NO.'
  84.           In  other  words,  it  denies  the predicate of the subject.
  85.           Affirmative   propositions   affirm  the  predicate  of  the
  86.           subject.  
  87.  
  88.           Categorical   propositions,   having  a  limited  number  of
  89.           combinations  of  quality  and  quantity, are referred to by
  90.           four type identifiers based on their Latin names.  
  91.  
  92.  
  93.                'A'  propositions  (based on Affirmo) are universal and
  94.                affirmative.  For example: All men are mortal.  
  95.  
  96.                'E'  propositions  (based  on  nEgo)  are universal and
  97.                negative.  For example: No men are mortal.  
  98.  
  99.                'I'  propositions (based on affIrmo) are particular and
  100.                affirmative.  For example: Some men are mortal.  
  101.  
  102.                'O'  propositions  (based  on  negO) are particular and
  103.                negative.  For example: Some men are not mortal.  
  104.  
  105.           Categorical  propositions  have  a distribution which refers
  106.           to  how  the  subject is distributed among the predicate and
  107.           how  the  predicate  is  distributed  over the subject.  The
  108.           following  are  inherent  characteristics  of  each  form of
  109.           proposition: 
  110.  
  111.                A) S is D; P is U       I) S is U; P is U
  112.                E) S is D; P is D       O) S is U; P is D
  113.  
  114.  
  115.  
  116.  
  117.  
  118.                                      page 2
  119.  
  120.  
  121.  
  122.  
  123.  
  124.                          Categorical Syllogism Analyzer
  125.  
  126.  
  127.  
  128.  
  129.                              Categorical Syllogisms
  130.  
  131.  
  132.           Categorical  syllogisms  are created using three categorical
  133.           propositions.   They  are  a  form  of deductive argument in
  134.           which  a  conclusion  is  inferred,  or  claimed  to  follow
  135.           necessarily, from two premisses.  For example: 
  136.  
  137.                (ALL MEN ARE MORTALS)        ! the first premiss (major)
  138.                (ALL FROGS ARE MEN)          ! the second premiss (minor)
  139.                (ALL FROGS ARE MORTALS)      ! the conclusion
  140.  
  141.           In  a  syllogism, there are three and only three terms.  The
  142.           subject  of  the  conclusion is known as the minor term, the
  143.           predicate  being the major term.  This leaves one other term
  144.           which  is  the  middle term.  The middle term occurs in both
  145.           premisses,  but  not  in  the  conclusion; it is used as the
  146.           connecting term between premisses.  
  147.  
  148.           The  minor  premiss  contains  the  minor term and the major
  149.           premiss contains the major term.  
  150.  
  151.           The  form  of a syllogism is given by the three types of the
  152.           propositions,  in  the  example above this would be (A A A),
  153.           and  a number between 1 and 4 indicating the position of the
  154.           middle  term  in the premisses.  The exact detail of form is
  155.           not necessary here.  
  156.  
  157.           There  are  several  ways  to  assess  syllogisms.   One  is
  158.           through  the  use  of  Venn  diagrams  which allows a visual
  159.           analysis.   An  alternate  method  is  using a collection of
  160.           rules  that  determine  valid syllogisms.  The second method
  161.           provides a lexical analysis and is easier to code.  
  162.  
  163.  
  164.                                   Formal Rules
  165.  
  166.  
  167.           There  are seven basic rules for determining the validity of
  168.           categorical    syllogisms,    eight    under   boolean   (or
  169.           existential)  interpretation.   They  are  given below along
  170.           with the fallacy when the rule is violated.  
  171.  
  172.           Rule  1: A categorical syllogism must contain three and only
  173.  
  174.  
  175.  
  176.  
  177.                                      page 3
  178.  
  179.  
  180.  
  181.  
  182.  
  183.                          Categorical Syllogism Analyzer
  184.  
  185.  
  186.  
  187.           three terms or it commits the fallacy of four terms.  
  188.  
  189.           Rule  2:  The  middle term must be distributed at least once
  190.           or it commits the fallacy of undistributed middle.  
  191.  
  192.           Rule  3:  No term may be distributed in the conclusion which
  193.           is  undistributed in the premisses or it commits the fallacy
  194.           of illicit major or minor.  
  195.  
  196.           Rule  4:  No  categorical  syllogism  can  have two negative
  197.           premisses   or   it   commits   the   fallacy  of  exclusive
  198.           premisses.  
  199.  
  200.           Rule  5:  If either premiss is negative, the conclusion must
  201.           be  negative  or  it  commits  the  fallacy  of  drawing  an
  202.           affirmative conclusion from a negative premiss.  
  203.  
  204.           Rule  6:  A  categorical  proposition  must have at least on
  205.           universal   premiss   or  it  commits  the  fallacy  of  two
  206.           particulars.  
  207.  
  208.           Rule  7:  If  one premiss is particular, the conclusion must
  209.           be  particular  or  it  commits  the  fallacy  of  drawing a
  210.           universal conclusion from a particular premiss.  
  211.  
  212.           Rule  8:  (existential  interpretation  only)  A  particular
  213.           conclusion   cannot  have  two  universal  premisses  or  it
  214.           commits the existential fallacy.  
  215.  
  216.  
  217.                                   The Program
  218.  
  219.  
  220.           The  actual program is composed of several layers and uses a
  221.           combination  of action-centered and request-centered control
  222.           mechanisms.   The top layer is the user interface which gets
  223.           the  syllogism,  calls  the  necessary functions and reports
  224.           the  results  in  what  is  hoped  a  less cryptic form than
  225.           represented internally.  
  226.  
  227.           The  syllogism  is entered, when prompted, as three separate
  228.           lists.   The  conclusion must be last, but the premisses may
  229.           be  in  either  order.   Once  entered,  each proposition is
  230.           passed  to  a formatter which parses each proposition into a
  231.           form  which  can  be  easily  dealt with.  It is during this
  232.  
  233.  
  234.  
  235.  
  236.                                      page 4
  237.  
  238.  
  239.  
  240.  
  241.  
  242.                          Categorical Syllogism Analyzer
  243.  
  244.  
  245.  
  246.           process  that all non-standard quantifiers (such as MOST and
  247.           EVERY)  are  replaced with their categorical equivalents.  A
  248.           future  enhancement  will also replace synonyms and antonyms
  249.           with  common  terms  and  eliminate  plural  terms  at  this
  250.           stage.  
  251.  
  252.           Once  the  propositions  are formatted, they are passed to a
  253.           proposition  analyzer  which  determines  the  type  of each
  254.           proposition.  
  255.  
  256.           The  next  step involves determining the proper order of the
  257.           propositions.   It  is  standard  to  have the major premiss
  258.           first,  followed  by  the  minor  premiss  and  finally  the
  259.           conclusion.  
  260.  
  261.           The  properly  formatter  syllogism  is returned for further
  262.           analysis  of  the form, in other words where the middle term
  263.           is located.  
  264.  
  265.           The  last  step  is  to  pass the form of the syllogism, and
  266.           only  the  form,  to  the  rule  base  which  determines the
  267.           validity of syllogism.  
  268.  
  269.           The  program  includes  extensive  error  trapping  at every
  270.           stage  and utilizes a common error handler.  This allows for
  271.           the  easy  expansion  of  the  number  and  type  of  errors
  272.           trapped.  
  273.  
  274.  
  275.                                    The Future
  276.  
  277.  
  278.           This  program is in the early stages of a 'toy.'  It is what
  279.           could  best  be referred to as a third generation prototype,
  280.           having   its  roots  in  a  project  last  year  to  analyze
  281.           categorical propositions.  
  282.  
  283.           Possible  uses  would  hinge on the expansion of the program
  284.           to   handle   poly-syllogisms,   syllogisms   with  multiple
  285.           premisses such as: 
  286.  
  287.                No interesting poems are unpopular among people of real taste.
  288.                No modern poetry is free from affectation.
  289.                All your poems are on the subject of soap bubbles.
  290.                No affected poetry is popular among people of real taste.
  291.  
  292.  
  293.  
  294.  
  295.                                      page 5
  296.  
  297.  
  298.  
  299.  
  300.  
  301.                          Categorical Syllogism Analyzer
  302.  
  303.  
  304.  
  305.                Only a modern poem would be on the subject of soap bubbles.
  306.                Therefore all your poems are uninteresting.
  307.  
  308.           The  above  syllogism  is valid, for those having difficulty
  309.           interpreting  it.   Which brings about the major strength of
  310.           programs  such  as  this,  accuracy.  An expanded version of
  311.           this   program   could  easily  and  quickly  determine  the
  312.           validity  of the above syllogism.  It would not, however, be
  313.           able  to  discern  whether the actual propositions are true,
  314.           and hence whether the conclusion is true.  
  315.  
  316.           Such  clear  cut language and form is evident in a number of
  317.           disciplines   besides   logic.   Law  and  mathematics  come
  318.           immediately  to  mind.   Further  possibilities  are left to
  319.           you.  
  320.  
  321.  
  322.                                   Usage Notes
  323.  
  324.  
  325.           CSA  is implemented completely in XLISP 1.7 using the subset
  326.           of  common  LISP  provided and avoiding all XLISP particular
  327.           functions.  To load the program, type: 
  328.  
  329.                                    XLISP CSA
  330.  
  331.           After  loading  the initialization file, XLISP will load CSA
  332.           and print the header lines.  To enter a syllogism, type: 
  333.  
  334.           (CSA) 
  335.  
  336.           You  will  be  prompted  for  the two premisses and then the
  337.           conclusion.  Enter the propositions as lists for example: 
  338.  
  339.                             (all men are mortals)  
  340.                             (some frogs are men)   
  341.                             (some frogs are mortals)
  342.  
  343.           Presently,  the  program  will display who the syllogism was
  344.           parsed  along  with  what  it  thinks  the  major, minor and
  345.           middle  term  should be.  If for some reason it is incorrect
  346.           in  its  determining  these  terms, examine the three parsed
  347.           propositions  and  see  of  the predicates and subjects have
  348.           been  determined  correctly,  often  errors  will  be in the
  349.           parsing.  
  350.  
  351.  
  352.  
  353.  
  354.                                      page 6
  355.  
  356.  
  357.  
  358.  
  359.  
  360.                          Categorical Syllogism Analyzer
  361.  
  362.  
  363.  
  364.  
  365.           Next,  the program prints out whether the syllogism is valid
  366.           or  invalid.   If the syllogism is determined to be invalid,
  367.           the  first  rule  that is violated and the fallacy committed
  368.           is  displayed.   When  completed, the program returns to the
  369.           prompt; to leave XLISP, enter (EXIT) at the ">" prompt.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.                                      page 7
  414.  
  415.